package cn.pfz.search.Service.impl;

import cn.pfz.search.Service.IDestinationEsService;
import cn.pfz.search.domain.DestinationEs;
import cn.pfz.search.repository.DestinationEsRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: 普发忠
 * @Date: 2021/10/20/9:49
 */
@Service
public class DestinationEsServiceimpl implements IDestinationEsService {
    @Autowired
    private DestinationEsRepository destinationEsRepository;
    @Override

    public void save(DestinationEs es) {
        destinationEsRepository.save(es);
    }
}
